package cn.dengta.webapp.im.entity;

import java.util.Date;

import cn.dengta.webapp.base.entity.BaseEntity;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Getter;
import lombok.Setter;
import lombok.experimental.Accessors;

/**
 * IM 聊天群组消费统计
 *
 * @author zw
 * @since 2022-12-15
 */
@Setter
@Getter
@Accessors(chain = true)
@TableName("im_group_consume_statistics")
public class GroupConsumeStatistics extends BaseEntity {

	private static final long serialVersionUID = 1L;

	/** 群id */
	Integer groupId;
	/** 创建时间 */
	Date addTime;
	/** 红包钻石 */
	Integer redPackCoin;
	/** 个人红包钻石 */
	Integer redPackUserCoin;
	/** 礼物钻石 */
	Integer giftCoin;

	public static final String GROUP_ID = "group_id";
	public static final String ADD_TIME = "add_time";
	public static final String RED_PACK_COIN = "red_pack_coin";
	public static final String RED_PACK_USER_COIN = "red_pack_user_coin";
	public static final String GIFT_COIN = "gift_coin";

}
